python opengl transformation stages